<!-- templates/create_course.html -->
{% extends 'base.html' %}

{% block content %}
    <h2 class="page-title">创建课程</h2>
    <form method="POST">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit" class="btn btn-success">确认创建</button>
        <a href="{% url 'teacher_dashboard' %}" class="btn btn-secondary">取消</a>
    </form>
{% endblock %}